.class final Lcom/skyhookwireless/_sdkgb;
.super Lcom/skyhookwireless/_sdkfb;


# static fields
.field private static _sdke:Ljava/io/FileWriter;

.field private static final z:[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 14

    const/16 v12, 0x27

    const/16 v11, 0x26

    const/16 v10, 0x16

    const/4 v9, 0x0

    const/4 v8, 0x1

    const/4 v0, 0x2

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "F\u000c\u0003bKN\u0018\u00162R\u0007\u001d\u0002\'\u0002\u0017i\t3\u0017GIk6"

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    array-length v2, v1

    if-gt v2, v8, :cond_5

    move v3, v9

    :cond_0
    move v4, v2

    move v5, v3

    move-object v2, v1

    move v13, v3

    move-object v3, v1

    move v1, v13

    :goto_0
    aget-char v6, v2, v1

    rem-int/lit8 v7, v5, 0x5

    packed-switch v7, :pswitch_data_0

    move v7, v11

    :goto_1
    xor-int/2addr v6, v7

    int-to-char v6, v6

    aput-char v6, v2, v1

    add-int/lit8 v1, v5, 0x1

    if-nez v4, :cond_1

    move-object v2, v3

    move v5, v1

    move v1, v4

    goto :goto_0

    :cond_1
    move v2, v4

    move-object v13, v3

    move v3, v1

    move-object v1, v13

    :goto_2
    if-gt v2, v3, :cond_0

    new-instance v2, Ljava/lang/String;

    invoke-direct {v2, v1}, Ljava/lang/String;-><init>([C)V

    invoke-virtual {v2}, Ljava/lang/String;->intern()Ljava/lang/String;

    move-result-object v1

    aput-object v1, v0, v9

    const-string v1, "LNCuG\u0011Y\u0008aV\u0010QHq\u0008\u0017ES"

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    array-length v2, v1

    if-gt v2, v8, :cond_4

    move v3, v9

    :cond_2
    move v4, v2

    move v5, v3

    move-object v2, v1

    move v13, v3

    move-object v3, v1

    move v1, v13

    :goto_3
    aget-char v6, v2, v1

    rem-int/lit8 v7, v5, 0x5

    packed-switch v7, :pswitch_data_1

    move v7, v11

    :goto_4
    xor-int/2addr v6, v7

    int-to-char v6, v6

    aput-char v6, v2, v1

    add-int/lit8 v1, v5, 0x1

    if-nez v4, :cond_3

    move-object v2, v3

    move v5, v1

    move v1, v4

    goto :goto_3

    :cond_3
    move v2, v4

    move-object v13, v3

    move v3, v1

    move-object v1, v13

    :goto_5
    if-gt v2, v3, :cond_2

    new-instance v2, Ljava/lang/String;

    invoke-direct {v2, v1}, Ljava/lang/String;-><init>([C)V

    invoke-virtual {v2}, Ljava/lang/String;->intern()Ljava/lang/String;

    move-result-object v1

    aput-object v1, v0, v8

    sput-object v0, Lcom/skyhookwireless/_sdkgb;->z:[Ljava/lang/String;

    :try_start_0
    new-instance v0, Ljava/io/FileWriter;

    sget-object v1, Lcom/skyhookwireless/_sdkgb;->z:[Ljava/lang/String;

    const/4 v2, 0x1

    aget-object v1, v1, v2

    const/4 v2, 0x1

    invoke-direct {v0, v1, v2}, Ljava/io/FileWriter;-><init>(Ljava/lang/String;Z)V

    sput-object v0, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_6
    return-void

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    sput-object v0, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    goto :goto_6

    :pswitch_0
    const/16 v7, 0x63

    goto :goto_1

    :pswitch_1
    const/16 v7, 0x3d

    goto :goto_1

    :pswitch_2
    move v7, v12

    goto :goto_1

    :pswitch_3
    move v7, v10

    goto :goto_1

    :pswitch_4
    const/16 v7, 0x63

    goto :goto_4

    :pswitch_5
    const/16 v7, 0x3d

    goto :goto_4

    :pswitch_6
    move v7, v12

    goto :goto_4

    :pswitch_7
    move v7, v10

    goto :goto_4

    :cond_4
    move v3, v9

    goto :goto_5

    :cond_5
    move v3, v9

    goto :goto_2

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
    .end packed-switch
.end method

.method public constructor <init>(Ljava/lang/Class;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;)V"
        }
    .end annotation

    invoke-direct {p0, p1}, Lcom/skyhookwireless/_sdkfb;-><init>(Ljava/lang/Class;)V

    return-void
.end method


# virtual methods
.method protected _sdka(Ljava/lang/Class;)Lcom/skyhookwireless/_sdkfb;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;)",
            "Lcom/skyhookwireless/_sdkfb;"
        }
    .end annotation

    new-instance v0, Lcom/skyhookwireless/_sdkgb;

    invoke-direct {v0, p1}, Lcom/skyhookwireless/_sdkgb;-><init>(Ljava/lang/Class;)V

    return-object v0
.end method

.method protected _sdka(Lcom/skyhookwireless/_sdkh;Ljava/lang/String;)V
    .locals 8

    :try_start_0
    const-class v0, Lcom/skyhookwireless/_sdkgb;

    monitor-enter v0
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    sget-object v1, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    if-eqz v1, :cond_0

    sget-object v1, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    sget-object v2, Lcom/skyhookwireless/_sdkgb;->z:[Ljava/lang/String;

    const/4 v3, 0x0

    aget-object v2, v2, v3

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    new-instance v5, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    invoke-direct {v5, v6, v7}, Ljava/util/Date;-><init>(J)V

    aput-object v5, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/io/FileWriter;->write(Ljava/lang/String;)V

    sget-object v1, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    invoke-virtual {v1, p2}, Ljava/io/FileWriter;->write(Ljava/lang/String;)V

    sget-object v1, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    const-string v2, "\n"

    invoke-virtual {v1, v2}, Ljava/io/FileWriter;->write(Ljava/lang/String;)V

    sget-object v1, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    invoke-virtual {v1}, Ljava/io/FileWriter;->flush()V

    :cond_0
    monitor-exit v0

    :goto_0
    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v1
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    sput-object v0, Lcom/skyhookwireless/_sdkgb;->_sdke:Ljava/io/FileWriter;

    goto :goto_0
.end method
